#include "../../platform/win32/inc/stdafx.h"
#include "../common/inc/InternalCommon.h"
#include "../inc/Mutex.h"

namespace	Platform
{

	namespace System
	{

		CMutex::CMutex(){}

		CMutex::~CMutex(){}

		CMutex::CMutex(const CMutex &object)
		{
			(*this) = object;
		}

		CMutex& CMutex::operator=(const CMutex &object)
		{
			return (*this);
		}

		bool CMutex::operator==(const CMutex &object)
		{
			return (this == &object);
		}

		int CMutex::Create(void)
		{
			return m_System.Create();
		}

		int CMutex::Destroy(void)
		{
			return m_System.Destroy();
		}

		int CMutex::Lock(IN DWORD timeout)
		{
			return m_System.Lock(timeout);
		}

		int CMutex::Unlock(void)
		{
			return m_System.Unlock();
		}

	}

}